package com.rookie.behavioral.observer;

import com.rookie.behavioral.observer.Observer;

/**
 * @author rookie
 * @date 2022/5/7 14:26
 */
public class PoliceObserver implements Observer {

    @Override
    public void update(String event) {
        System.out.println("警察收到消息，罪犯在" + event);
    }
}
